package com.jic.manager.mapper;

import com.jic.manager.entity.MestoreSupplier;
import com.jic.manager.entity.OauthClientDetails;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 *
 * 记录子平台clientId
 * @author wwb
 */
@Mapper
public interface OauthClientDetailsMapper {

    @Insert("insert into oauth_client_details (client_id,child_id,resource_ids,client_secret,scope,authorized_grant_types) values(#{clientId},#{childId},#{resourceId},#{clientSecret},#{scope},#{authorizedGrantTypes})")
    Long saveChildOauth(OauthClientDetails oauthClientDetails);
}
